package cn.ticket.service;

import java.util.List;

import cn.ticket.model.NewsSet;

public interface NewsSetService {
	int deleteByPrimaryKey(Integer id);

    int insert(NewsSet record);

    int insertSelective(NewsSet record);

    NewsSet selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(NewsSet record);


    int updateByPrimaryKey(NewsSet record);
    
    List<NewsSet> getAll();
    
    List<NewsSet> getByName(String name);
}
